package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工彰奖励信息对象 t_employee_awards_info
 * 
 * @author ruoyi
 * @date 2024-11-17
 */
public class EmployeeAwardsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private String employeeId;

    /** 所属单位/部门 */
    @Excel(name = "所属单位/部门")
    private String department;

    /** 开始时间（获得时间） */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 荣誉称号 */
    @Excel(name = "荣誉称号")
    private String honorTitle;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNumber;

    /** 荣誉级别 */
    @Excel(name = "荣誉级别")
    private String honorLevel;

    /** 荣誉类别 */
    @Excel(name = "荣誉类别")
    private String honorCategory;

    /** 授予单位 */
    @Excel(name = "授予单位")
    private String grantingUnit;

    /** 批准文件 */
    @Excel(name = "批准文件")
    private String approvalFile;

    /** 发文日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发文日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 年度 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年度", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardYear;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setHonorTitle(String honorTitle) 
    {
        this.honorTitle = honorTitle;
    }

    public String getHonorTitle() 
    {
        return honorTitle;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }
    public void setHonorLevel(String honorLevel) 
    {
        this.honorLevel = honorLevel;
    }

    public String getHonorLevel() 
    {
        return honorLevel;
    }
    public void setHonorCategory(String honorCategory) 
    {
        this.honorCategory = honorCategory;
    }

    public String getHonorCategory() 
    {
        return honorCategory;
    }
    public void setGrantingUnit(String grantingUnit) 
    {
        this.grantingUnit = grantingUnit;
    }

    public String getGrantingUnit() 
    {
        return grantingUnit;
    }
    public void setApprovalFile(String approvalFile) 
    {
        this.approvalFile = approvalFile;
    }

    public String getApprovalFile() 
    {
        return approvalFile;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAwardYear(Date awardYear) 
    {
        this.awardYear = awardYear;
    }

    public Date getAwardYear() 
    {
        return awardYear;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("department", getDepartment())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("honorTitle", getHonorTitle())
            .append("certificateNumber", getCertificateNumber())
            .append("honorLevel", getHonorLevel())
            .append("honorCategory", getHonorCategory())
            .append("grantingUnit", getGrantingUnit())
            .append("approvalFile", getApprovalFile())
            .append("issueDate", getIssueDate())
            .append("remarks", getRemarks())
            .append("awardYear", getAwardYear())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
